<#import "/spring.ftl" as spring/>
<#macro urlRandom url>
<@spring.url url />?t=${Application.urlRandomParam}
</#macro>

<#macro importBaseJs>
	<script type="text/javascript" src="<@urlRandom '/webjars/1.0.0/lib/vue/vue.min.js' />"></script>
	<script type="text/javascript" src="<@urlRandom '/webjars/1.0.0/lib/element-ui/index.js' />"></script>
	<script type="text/javascript" src="<@urlRandom '/webjars/1.0.0/lib/jquery/2.1.1/jquery.min.js' />"></script>
	<script type="text/javascript" src="<@urlRandom '/webjars/1.0.0/lib/axios.min.js' />"></script>
	<script type="text/javascript" src="<@urlRandom '/webjars/1.0.0/lib/es6-promise.auto.min.js' />"></script>
	<script type="text/javascript" src="<@urlRandom '/webjars/1.0.0/js/common.js' />"></script>
	<script type="text/javascript" src="<@urlRandom '/js/common-ext.js' />"></script>
</#macro>

<#macro importBaseCSS>
	<link rel="stylesheet" type="text/css" href="<@urlRandom '/webjars/1.0.0/lib/element-ui/index.css' />">
	<link rel="stylesheet" type="text/css" href="<@urlRandom '/webjars/1.0.0/css/base.css' />">
	<link rel="stylesheet" type="text/css" href="<@urlRandom '/webjars/1.0.0/css/widget.css' />">
	<link rel="stylesheet" type="text/css" href="<@urlRandom '/webjars/1.0.0/css/colors.css' />">
	<link rel="stylesheet" type="text/css" href="<@urlRandom '/css/iconfont.css' />">
</#macro>